package com.sqfw.project.wp.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sqfw.framework.aspectj.lang.annotation.Excel;
import com.sqfw.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName T_SMS_USER
 */
@TableName(value ="T_SMS_USER")
@KeySequence(value = "SEQ_T_SMS_USER", dbType = DbType.ORACLE)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TSmsUser extends BaseEntity {
    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Long userid;

    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名")
    @ApiModelProperty("用户姓名")
    private String username;

    /**
     * 组织单位ID
     */
//    @Excel(name = "组织单位ID")
    @ApiModelProperty("组织单位ID")
    private Long groupid;

    /**
     * 组织单位名称
     */
    @Excel(name = "组织单位名称")
    @ApiModelProperty("组织单位名称")
    private String groupname;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    private String mobile;

    /**
     * 删除时间
     */
    @ApiModelProperty("删除时间")
    private Date deletetime;

    /**
     * 删除标记(0-正常 1-删除)
     */
    private Integer isDel;

    @TableField(exist = false)
    private String remark;

    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}